<?php /* Smarty version Smarty-3.0.8, created on 2011-11-26 15:08:34
         compiled from "./templates\_thisweekContent.tpl" */ ?>
<?php /*%%SmartyHeaderCode:288354ed100f2bb2a74-92703998%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '54c2f532dbe843610aa09697bdfd0f9f3efa3756' => 
    array (
      0 => './templates\\_thisweekContent.tpl',
      1 => 1322320055,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '288354ed100f2bb2a74-92703998',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include './common/libs/plugins\modifier.truncate.php';
?><div id="thisWeekContent0">  <!-- 内容 -->         
        <?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->getVariable('addtitle')->value)===null||$tmp==='' ? '0' : $tmp);?>
<?php $_tmp1=ob_get_clean();?><?php if ($_tmp1!=0){?>
        <?php $_template = new Smarty_Internal_Template('_weekcontentitle.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>   <!-- 副标题是否显示 -->
        <?php }?>
        <ul>   
        <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('thisWeekTopData_arr')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['name'] = 'thisWeek';
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['show'] = (bool)true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['max'] = (int)$_smarty_tpl->getVariable('loopCount')->value;
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'] = ((int)1) == 0 ? 1 : (int)1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'] = (int)0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['max'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop'];
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start']);
else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop']-1);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['max']);
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['total']);
?>
        <?php $_smarty_tpl->tpl_vars['no'] = new Smarty_variable(($_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['iteration']+$_smarty_tpl->getVariable('initalvalue')->value), null, null);?>
            <li>
               <div id="leftnum"><span><?php echo ((($tmp = @$_smarty_tpl->getVariable('no')->value)===null||$tmp==='' ? '1' : $tmp)).('.');?>
&nbsp;&nbsp;</span></div>
               <div id="firmlogo"><a href="<?php echo $_smarty_tpl->getVariable('thisWeekTopData_arr')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['linkAddress'];?>
"><img src="<?php echo $_smarty_tpl->getVariable('thisWeekTopData_arr')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['imageName'];?>
" width="<?php echo (($tmp = @$_smarty_tpl->getVariable('thisWeekTopData_arr')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['imageWidth'])===null||$tmp==='' ? '20' : $tmp);?>
" height="<?php echo (($tmp = @$_smarty_tpl->getVariable('thisWeekTopData_arr')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['imageHeight'])===null||$tmp==='' ? '20' : $tmp);?>
"/></a></div> 
               <div id="firmname"><a href="<?php echo $_smarty_tpl->getVariable('thisWeekTopData_arr')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['linkAddress'];?>
"><span>&nbsp;&nbsp;<?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->getVariable('truncate_num')->value)===null||$tmp==='' ? '6' : $tmp);?>
<?php $_tmp2=ob_get_clean();?><?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->getVariable('thisWeekTopData_arr')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['firmName'])===null||$tmp==='' ? 'Google' : $tmp),$_tmp2,'',false);?>
</span></a></div>
               <div id="clear"></div>             
            </li> 
        <?php endfor; else: ?>
        <?php endif; ?>                                               
        </ul>                              
</div>